home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games 1996 July / Amiga Games 1996 #7.iso / spiele / publicdomain / bomb / installbomb < prev    next >
Text File  |  1996-03-11  |  3KB  |  147 lines

  1. ; $VER: Install BOMB V1.2 (12/03/96)
  2. ; This script is to be distributed with  B O M B  by Silicon Circus
  3. ; EMAIL: preecebj@aston.ac.uk   OR ON IRC: Beej @ #Amigacafe
  4.  
  5. (
  6. (set #install-script-choice
  7. (cat "\nYou may want this script (not only to go over its\n"
  8.      "excellence again and again) if you're indecisive.\n\n"
  9.      "You see - you may want to move it from where you\n"
  10.      "are installing it now, in which case this script\n"
  11.      "would come in useful because it could move all the\n"
  12.      "files and set the assigns up for you.\n\n"
  13.      @askoptions-help
  14. )
  15. )
  16. )
  17.  
  18. (set @default-dest
  19. (askdir
  20.    (prompt "Please select or make the directory where you would\n"
  21.            "like to install the program and its data into.\n"
  22.            "A drawer will NOT be created there.")
  23.    (help @askdir-help)
  24.    (default "SYS:")
  25.    )
  26. )
  27.  
  28. (complete 0)
  29.  
  30. (
  31. (working "Installing  B O M B  run script")
  32. (copyfiles
  33.    (prompt "")
  34.    (help @copyfiles-help)
  35.    (source "BOMB")
  36.    (dest @default-dest)
  37.    (infos)
  38.     )
  39. )
  40.  
  41. (complete 1)
  42.  
  43. (
  44. (working "Installing  B O M B  program")
  45. (copyfiles
  46.    (prompt "")
  47.    (help @copyfiles-help)
  48.    (source "BOMBprogram")
  49.    (dest @default-dest)
  50.    (infos)
  51.     )
  52. )
  53.  
  54. (complete 12)
  55.  
  56. (
  57. (working "Installing  B O M B  power-up picture")
  58. (copyfiles
  59.    (prompt "")
  60.    (help @copyfiles-help)
  61.    (source "PowerUps")
  62.    (dest @default-dest)
  63.    (infos)
  64.     )
  65. )
  66.  
  67. (complete 13)
  68.  
  69. (
  70. (if (exists "BOMB.Guide" (noreq) )
  71.     (copyfiles
  72.        (prompt "Would you like to install the documentation for\n"
  73.                "B O M B , which is an AmigaGuide ?")
  74.        (help @copyfiles-help)
  75.        (source "BOMB.Guide")
  76.        (dest @default-dest)
  77.        (confirm)
  78.        (infos)
  79.     )
  80. )
  81. )
  82.  
  83. (complete 18)
  84.  
  85. (
  86. (if (exists "InstallBOMB" (noreq) )
  87.     (copyfiles
  88.         (prompt "Would you like to install this install scipt ?\n"
  89.                 "Click HELP for reasons why.")
  90.         (help #install-script-choice)
  91.         (source "InstallBOMB")
  92.         (dest @default-dest)
  93.         (confirm)
  94.         (infos)
  95.     )
  96. )
  97. )
  98.  
  99. (complete 18)
  100.  
  101. (
  102. (if (exists "LIBS/CrM.library" (noreq) )
  103. (working "Installing CrM.library")
  104.     (copylib
  105.         (help @copyfiles-help)
  106.         (source "LIBS/CrM.library")
  107.         (dest "LIBS:")
  108.     )
  109. )
  110. )
  111.  
  112. (complete 19)
  113.  
  114. (
  115. (makedir((cat @default-dest "/BOMBdata" )))
  116. )
  117.  
  118. (
  119. (working "Installing  B O M B  game data")
  120. (copyfiles
  121.     (prompt "")
  122.     (help @copyfiles-help)
  123.     (source "BOMBdata/")
  124.     (dest (tackon @default-dest "BOMBdata/"))
  125.     (all)
  126.     )
  127. )
  128.  
  129. (complete 99)
  130.  
  131. (
  132. (startup @app-name
  133.    (prompt "I need to put some assigns in your S:User-Startup"
  134.       " so that  B O M B  knows where to look for its"
  135.         " data and its fonts when you double click on it.\n\n"
  136.         "Is that okay?\n\n"
  137.         "(N.B.  You must reset once the installation is"
  138.         " FINISHED to make sure this happens)")
  139.    (help @startup-help)
  140.    (command "Assign >NIL: BOMB: "@default-dest)
  141.     )
  142. )
  143.  
  144. (complete 100)
  145.  
  146. (exit)
  147.